package com.sky.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class OrdersPageQueryDTO  extends  PagePageSizeDto implements Serializable {


    //订单号
    private String number;

    // 手机号
    private  String phone;

    //订单状态
    private Integer status;

    //支付状态
    private Integer payStatus;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    //用户id
    private Long userId;

}
